package com.wwj.study.observer.keyboard;

import com.wwj.study.observer.core.Event;

/**
 * @Author: wuweijun
 * @Date: 2018/11/20 16:46
 */
public class Observer {

    public void onKeyboard(Event event){
        System.out.println("按下键盘事件");
        System.out.println(event.toString());
    }

    public void upKeyboard(Event event){
        System.out.println("弹出键盘事件");
        System.out.println(event.toString());
    }
}
